<extend name='Layout/index'/>
<block name="linka">
	<!-- <link rel="stylesheet" href="__PUBLIC__/gewara/public/my.css"> -->
	<!-- <link rel="stylesheet" href="__PUBLIC__/gewara/public/css/style.css"> -->
    <!-- <link href="__PUBLIC__/gewara/public/css/bootstrap.min.css" rel="stylesheet"> -->
    <!-- <link href="__PUBLIC__/gewara/public/css/flexslider.css" rel="stylesheet"> -->
</block>
<block name="myjs">
	<script src="__PUBLIC__/gewara/public/js/jquery.min.js"></script>
    <script src="__PUBLIC__/gewara/public/js/bootstrap.min.js"></script>
</block>
<block name='main'>
	<div class="container ">
		<div class="col-md-10">
			<!-- start mycarousel -->
			<div id="myCarousel" class="carousel slide" >
			  <ol class="carousel-indicators">
			    <li data-target="#myCarousel" data-slide-to="0"></li>
			    <li data-target="#myCarousel" data-slide-to="1"></li>
			    <li data-target="#myCarousel" data-slide-to="2"></li>
			  </ol>
			  <div class="carousel-inner">
			    <div class="item active" style="background:#feeeed">
			      <a href="<{:U('Score/doadd')}>"><img src="__PUBLIC__/gewara/public/image/2.jpg" alt="" ></a>
			    </div>
			    <div class="item" style="background:#feeeed"> 
			      <a href="<{:U('Score/doadd')}>"><img src="__PUBLIC__/gewara/public/image/2.jpg" alt=""></a>
			    </div>
			    <div class="item" style="background:#feeeed">
			      <a href="<{:U('Score/doadd')}>"><img src="__PUBLIC__/gewara/public/image/2.jpg" alt=""></a>
			    </div>
			  </div>
			 <!--  <a href="#myCarousel" data-slide="prev" class="carousel-control left"><span class="glyphicon glyphicon-chevron-left"></span></a>
			  <a href="#myCarousel" data-slide="next" class="carousel-control right"><span class="glyphicon glyphicon-chevron-right"></span></a> -->
			  <a href="#myCarousel" data-slide="prev" class="carousel-control left">&lsaquo;</a>
			  <a href="#myCarousel" data-slide="next" class="carousel-control right">&rsaquo;</a>
			</div>
			<!-- end mycarousel -->
			<script>
				$(function(){
					$('#myCarousel').carousel({
					  interval : 4000, 
					})
					//设置垂直居中
					$('.carousel-control').css('line-height',$('.carousel-inner img').height()+'px');
					$(window).resize(function(){
					  var height = $('.carousel-inner img').eq(0).height() ||
					  $('.carousel-inner img').eq(1).height() ||
					  $('.carousel-inner img').eq(2).height();
					  $('.carousel-control').css('line-height',height+'px'); 
					})
				})
			</script>
			
		</div>
		<div class="col-md-2" >
		
			<img src="__PUBLIC__/gewara/public/image/right_tt.jpg" alt="" width="150">
			<div style="background-color:#feeeed;height:500px;width:150px">
				<div style="border:1px solid red; height:50px; text-align:center;line-height:50px">我的积分:<{$list}>分</div>
				<a href="<{:U('person/index')}>" type="button" class="btn btn-success" style="margin-top:10px">返回个人中心</a>
			</div>
		</div>
	</div>


<hr>
				<div class="tabs">
					<div class="sap_tabs">	
							 <div id="horizontalTab" style="display: block; width: 100%; margin: 0px;">
							  <ul class="resp-tabs-list">
								  <li class="resp-tab-item" aria-controls="tab_item-0" role="tab"><span>积分兑换电影票</span></li>
								  <br>
								  <br>
								  <div class="clearfix"></div>
							  </ul>				  	 
								<div class="resp-tabs-container">

									

									<!--start tab_item-1-->
								     <div class="tab-1 resp-tab-content" aria-labelledby="tab_item-1">
										<ul class="tab_img">
									
									 	<volist name="search" id="vo">
									 	<li style="width:200px">
						 					<a href="<{:U('detail/index',array('id'=>$vo['id']))}>"><img src="__ROOT__/Uploads/<{$vo.icon|substr=0,8}>/<{$vo.icon|substr=8}>" alt=""/ width=200 height=263></a>
						 					<div class="slide-title">
							 					<center>
								 					<a href="<{:U('detail/index',array('id'=>$vo['id']))}>">
								 						<h4 style="margin-left:62px"><{$vo.mname}></h4>
								 					</a>
							 					</center>
						 					</div>
						 					<div class="date-city">
						 						<center><h5><{$vo.showdate|date='Y-m-d',###}></h5></center>
						 						<center><h6><{$vo.cname}></h6></center>

						 						  <div class="tab_desc">
													<a href="<{:U('buy/index',array('id'=>$vo['id']))}>">马上购买</a>
												
											  </div>
						 						<!-- <div class="buy-tickets">
						 							<a href="<{:U('buy/index',array('id'=>$vo['id']))}>">马上购买</a>
						 						</div> -->
						 					</div>
						 				</li>

								  		  

									  	</volist>

										 

								
											<div class="clearfix"></div>
										</ul>
								     </div>	<!--end tab_item-1-->


									      					 	        					 
				     		    </div>	
				     		    
	                        </div>
						</div>
					</div>	
					<{$page}>
</block>